package com.every.love.girl;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) {
		String host="https://lovegirl.firebaseio.com/pics.json";
		
	}
	public static String readStream(InputStream inputStream) {
		StringBuffer strContent = new StringBuffer();
		String strLine;
		try {
			InputStreamReader streamReader = new InputStreamReader(inputStream);
			BufferedReader reader = new BufferedReader(streamReader);
			while ((strLine = reader.readLine()) != null) {
				strContent.append(strLine);
				strContent.append("\n");
			}
			streamReader.close();
			reader.close();
			inputStream.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
		return strContent.toString();
	}


}
